package com.example.emailservice.feignClient;

import com.example.emailservice.config.LWYDefaultFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-service",configuration = LWYDefaultFeignConfiguration.class)
public interface UserClient {

    @GetMapping("/user/selectUserByEmail/{EmailToUser}")
    boolean selectUserByEmail(String EmailToUser);
}
